﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DC2010.Objects.Structures;

namespace DC2010.Objects.Logic
{
    public class DialogLogic : BaseLogic
    {
        public DialogInfo Info { get; set; }
        public DialogGfx Gfx { get; set; }

        public DialogLogic(DialogData cd)
        {
            // Prepare inner data structures
            Info = Root.I.DialogSystem.GetInfo(cd.InfoId);
            Gfx = Root.I.DialogSystem.GetGfx(cd.GfxId);
            Data = cd;
        }

    }
}
